//
//  Particle.h
//  GLSprite
//
//  Created by Daniel Polak on 7/19/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <OpenGLES/EAGL.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#import "BaseObject.h"

@interface Particle : BaseObject {

	//Members
	float	m_fLifeSpan;
	CGPoint	m_pLocation;
	CGPoint	m_pVelocity;
	
	//For Drawing
	GLfloat m_spriteVertices[8];
}

@property float LifeSpan;
@property GLuint Texture;

-(void)Update:(float)fTime;
-(void)Create:(float)Life :(GLuint)nTex: (CGPoint) Location: (CGPoint)Velocity;

@end
